<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:t="http://myfaces.apache.org/tomahawk">

<head>
    <title>Groups</title>
</head>

<f:view>
    <t:dataTable value="#{groupList.groups}" var="group"
                 headerClass="standardTable_Header"
                 rowClasses="standardTable_Row1,standardTable_Row2"
                 columnClasses="standardTable_Column,standardTable_Column">

        <h:column>
            <f:facet name="header">
                <t:commandSortHeader columnName="group_name" arrow="true">
                    Name
                </t:commandSortHeader>
            </f:facet>
            #{group.name}
        </h:column>

        <h:column>
            <h:outputLink value="group/#{group.id}">
                Edit
            </h:outputLink>
        </h:column>
    </t:dataTable>
</f:view>
</html>
